/**
 * <copyright>
 *
 * Copyright (c) 2011 Zeligsoft (2009) Limited
 * All rights reserved.   This program and the accompanying materials
 * are made available under the terms of the Eclipse Public License v1.0
 * which accompanies this distribution, and is available at
 * http://www.eclipse.org/legal/epl-v10.html
 * 
 * Contributors: 
 *   Zeligsoft (2009) Limited - Initial API and implementation
 *
 * </copyright>
 *
 */
package org.omg.deployment.impl;

import org.eclipse.emf.ecore.EClass;
import org.eclipse.emf.ecore.EDataType;
import org.eclipse.emf.ecore.EObject;
import org.eclipse.emf.ecore.EPackage;

import org.eclipse.emf.ecore.impl.EFactoryImpl;

import org.eclipse.emf.ecore.plugin.EcorePlugin;

import org.omg.deployment.*;

/**
 * <!-- begin-user-doc -->
 * An implementation of the model <b>Factory</b>.
 * <!-- end-user-doc -->
 * @generated
 */
public class DeploymentFactoryImpl extends EFactoryImpl implements
		DeploymentFactory {
	/**
	 * Creates the default factory implementation.
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @generated
	 */
	public static DeploymentFactory init() {
		try {
			DeploymentFactory theDeploymentFactory = (DeploymentFactory) EPackage.Registry.INSTANCE
					.getEFactory("http://www.omg.org/Deployment");
			if (theDeploymentFactory != null) {
				return theDeploymentFactory;
			}
		} catch (Exception exception) {
			EcorePlugin.INSTANCE.log(exception);
		}
		return new DeploymentFactoryImpl();
	}

	/**
	 * Creates an instance of the factory.
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @generated
	 */
	public DeploymentFactoryImpl() {
		super();
	}

	/**
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @generated
	 */
	@Override
	public EObject create(EClass eClass) {
		switch (eClass.getClassifierID()) {
		case DeploymentPackage.ALIAS_TYPE:
			return createAliasType();
		case DeploymentPackage.ANY:
			return createAny();
		case DeploymentPackage.ARRAY_TYPE:
			return createArrayType();
		case DeploymentPackage.ARTIFACT_DEPLOYMENT_DESCRIPTION:
			return createArtifactDeploymentDescription();
		case DeploymentPackage.BOUNDED_STRING_TYPE:
			return createBoundedStringType();
		case DeploymentPackage.BRIDGE:
			return createBridge();
		case DeploymentPackage.COMPONENT_EXTERNAL_PORT_ENDPOINT:
			return createComponentExternalPortEndpoint();
		case DeploymentPackage.COMPONENT_INTERFACE_DESCRIPTION:
			return createComponentInterfaceDescription();
		case DeploymentPackage.COMPONENT_PORT_DESCRIPTION:
			return createComponentPortDescription();
		case DeploymentPackage.COMPONENT_PROPERTY_DESCRIPTION:
			return createComponentPropertyDescription();
		case DeploymentPackage.CONNECTION_RESOURCE_DEPLOYMENT_DESCRIPTION:
			return createConnectionResourceDeploymentDescription();
		case DeploymentPackage.DATA_TYPE:
			return createDataType();
		case DeploymentPackage.DATA_VALUE:
			return createDataValue();
		case DeploymentPackage.DEPLOYMENT_PLAN:
			return createDeploymentPlan();
		case DeploymentPackage.DOCUMENT_ROOT:
			return createDocumentRoot();
		case DeploymentPackage.DOMAIN:
			return createDomain();
		case DeploymentPackage.ENUM_TYPE:
			return createEnumType();
		case DeploymentPackage.EXTERNAL_REFERENCE_ENDPOINT:
			return createExternalReferenceEndpoint();
		case DeploymentPackage.FIXED_TYPE:
			return createFixedType();
		case DeploymentPackage.IMPLEMENTATION_DEPENDENCY:
			return createImplementationDependency();
		case DeploymentPackage.INSTANCE_DEPLOYMENT_DESCRIPTION:
			return createInstanceDeploymentDescription();
		case DeploymentPackage.INSTANCE_RESOURCE_DEPLOYMENT_DESCRIPTION:
			return createInstanceResourceDeploymentDescription();
		case DeploymentPackage.INTERCONNECT:
			return createInterconnect();
		case DeploymentPackage.MONOLITHIC_DEPLOYMENT_DESCRIPTION:
			return createMonolithicDeploymentDescription();
		case DeploymentPackage.NAMED_VALUE:
			return createNamedValue();
		case DeploymentPackage.NODE:
			return createNode();
		case DeploymentPackage.OBJREF_TYPE:
			return createObjrefType();
		case DeploymentPackage.PLAN_CONNECTION_DESCRIPTION:
			return createPlanConnectionDescription();
		case DeploymentPackage.PLAN_LOCALITY:
			return createPlanLocality();
		case DeploymentPackage.PLAN_PROPERTY_MAPPING:
			return createPlanPropertyMapping();
		case DeploymentPackage.PLAN_SUBCOMPONENT_PORT_ENDPOINT:
			return createPlanSubcomponentPortEndpoint();
		case DeploymentPackage.PLAN_SUBCOMPONENT_PROPERTY_REFERENCE:
			return createPlanSubcomponentPropertyReference();
		case DeploymentPackage.PROPERTY:
			return createProperty();
		case DeploymentPackage.REQUIREMENT:
			return createRequirement();
		case DeploymentPackage.RESOURCE:
			return createResource();
		case DeploymentPackage.RESOURCE_DEPLOYMENT_DESCRIPTION:
			return createResourceDeploymentDescription();
		case DeploymentPackage.SATISFIER_PROPERTY:
			return createSatisfierProperty();
		case DeploymentPackage.SEQUENCE_TYPE:
			return createSequenceType();
		case DeploymentPackage.SHARED_RESOURCE:
			return createSharedResource();
		case DeploymentPackage.STRUCT_MEMBER_TYPE:
			return createStructMemberType();
		case DeploymentPackage.STRUCT_TYPE:
			return createStructType();
		case DeploymentPackage.UNION_MEMBER_TYPE:
			return createUnionMemberType();
		case DeploymentPackage.UNION_TYPE:
			return createUnionType();
		case DeploymentPackage.VALUE_MEMBER_TYPE:
			return createValueMemberType();
		case DeploymentPackage.VALUE_TYPE:
			return createValueType();
		default:
			throw new IllegalArgumentException("The class '" + eClass.getName()
					+ "' is not a valid classifier");
		}
	}

	/**
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @generated
	 */
	@Override
	public Object createFromString(EDataType eDataType, String initialValue) {
		switch (eDataType.getClassifierID()) {
		case DeploymentPackage.CCM_COMPONENT_PORT_KIND:
			return createCCMComponentPortKindFromString(eDataType, initialValue);
		case DeploymentPackage.PLAN_LOCALITY_KIND:
			return createPlanLocalityKindFromString(eDataType, initialValue);
		case DeploymentPackage.RESOURCE_USAGE_KIND:
			return createResourceUsageKindFromString(eDataType, initialValue);
		case DeploymentPackage.SATISFIER_PROPERTY_KIND:
			return createSatisfierPropertyKindFromString(eDataType,
					initialValue);
		case DeploymentPackage.TC_KIND:
			return createTCKindFromString(eDataType, initialValue);
		case DeploymentPackage.CCM_COMPONENT_PORT_KIND_OBJECT:
			return createCCMComponentPortKindObjectFromString(eDataType,
					initialValue);
		case DeploymentPackage.PLAN_LOCALITY_KIND_OBJECT:
			return createPlanLocalityKindObjectFromString(eDataType,
					initialValue);
		case DeploymentPackage.RESOURCE_USAGE_KIND_OBJECT:
			return createResourceUsageKindObjectFromString(eDataType,
					initialValue);
		case DeploymentPackage.SATISFIER_PROPERTY_KIND_OBJECT:
			return createSatisfierPropertyKindObjectFromString(eDataType,
					initialValue);
		case DeploymentPackage.TC_KIND_OBJECT:
			return createTCKindObjectFromString(eDataType, initialValue);
		default:
			throw new IllegalArgumentException("The datatype '"
					+ eDataType.getName() + "' is not a valid classifier");
		}
	}

	/**
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @generated
	 */
	@Override
	public String convertToString(EDataType eDataType, Object instanceValue) {
		switch (eDataType.getClassifierID()) {
		case DeploymentPackage.CCM_COMPONENT_PORT_KIND:
			return convertCCMComponentPortKindToString(eDataType, instanceValue);
		case DeploymentPackage.PLAN_LOCALITY_KIND:
			return convertPlanLocalityKindToString(eDataType, instanceValue);
		case DeploymentPackage.RESOURCE_USAGE_KIND:
			return convertResourceUsageKindToString(eDataType, instanceValue);
		case DeploymentPackage.SATISFIER_PROPERTY_KIND:
			return convertSatisfierPropertyKindToString(eDataType,
					instanceValue);
		case DeploymentPackage.TC_KIND:
			return convertTCKindToString(eDataType, instanceValue);
		case DeploymentPackage.CCM_COMPONENT_PORT_KIND_OBJECT:
			return convertCCMComponentPortKindObjectToString(eDataType,
					instanceValue);
		case DeploymentPackage.PLAN_LOCALITY_KIND_OBJECT:
			return convertPlanLocalityKindObjectToString(eDataType,
					instanceValue);
		case DeploymentPackage.RESOURCE_USAGE_KIND_OBJECT:
			return convertResourceUsageKindObjectToString(eDataType,
					instanceValue);
		case DeploymentPackage.SATISFIER_PROPERTY_KIND_OBJECT:
			return convertSatisfierPropertyKindObjectToString(eDataType,
					instanceValue);
		case DeploymentPackage.TC_KIND_OBJECT:
			return convertTCKindObjectToString(eDataType, instanceValue);
		default:
			throw new IllegalArgumentException("The datatype '"
					+ eDataType.getName() + "' is not a valid classifier");
		}
	}

	/**
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @generated
	 */
	public AliasType createAliasType() {
		AliasTypeImpl aliasType = new AliasTypeImpl();
		return aliasType;
	}

	/**
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @generated
	 */
	public Any createAny() {
		AnyImpl any = new AnyImpl();
		return any;
	}

	/**
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @generated
	 */
	public ArrayType createArrayType() {
		ArrayTypeImpl arrayType = new ArrayTypeImpl();
		return arrayType;
	}

	/**
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @generated
	 */
	public ArtifactDeploymentDescription createArtifactDeploymentDescription() {
		ArtifactDeploymentDescriptionImpl artifactDeploymentDescription = new ArtifactDeploymentDescriptionImpl();
		return artifactDeploymentDescription;
	}

	/**
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @generated
	 */
	public BoundedStringType createBoundedStringType() {
		BoundedStringTypeImpl boundedStringType = new BoundedStringTypeImpl();
		return boundedStringType;
	}

	/**
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @generated
	 */
	public Bridge createBridge() {
		BridgeImpl bridge = new BridgeImpl();
		return bridge;
	}

	/**
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @generated
	 */
	public ComponentExternalPortEndpoint createComponentExternalPortEndpoint() {
		ComponentExternalPortEndpointImpl componentExternalPortEndpoint = new ComponentExternalPortEndpointImpl();
		return componentExternalPortEndpoint;
	}

	/**
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @generated
	 */
	public ComponentInterfaceDescription createComponentInterfaceDescription() {
		ComponentInterfaceDescriptionImpl componentInterfaceDescription = new ComponentInterfaceDescriptionImpl();
		return componentInterfaceDescription;
	}

	/**
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @generated
	 */
	public ComponentPortDescription createComponentPortDescription() {
		ComponentPortDescriptionImpl componentPortDescription = new ComponentPortDescriptionImpl();
		return componentPortDescription;
	}

	/**
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @generated
	 */
	public ComponentPropertyDescription createComponentPropertyDescription() {
		ComponentPropertyDescriptionImpl componentPropertyDescription = new ComponentPropertyDescriptionImpl();
		return componentPropertyDescription;
	}

	/**
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @generated
	 */
	public ConnectionResourceDeploymentDescription createConnectionResourceDeploymentDescription() {
		ConnectionResourceDeploymentDescriptionImpl connectionResourceDeploymentDescription = new ConnectionResourceDeploymentDescriptionImpl();
		return connectionResourceDeploymentDescription;
	}

	/**
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @generated
	 */
	public DataType createDataType() {
		DataTypeImpl dataType = new DataTypeImpl();
		return dataType;
	}

	/**
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @generated
	 */
	public DataValue createDataValue() {
		DataValueImpl dataValue = new DataValueImpl();
		return dataValue;
	}

	/**
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @generated
	 */
	public DeploymentPlan createDeploymentPlan() {
		DeploymentPlanImpl deploymentPlan = new DeploymentPlanImpl();
		return deploymentPlan;
	}

	/**
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @generated
	 */
	public DocumentRoot createDocumentRoot() {
		DocumentRootImpl documentRoot = new DocumentRootImpl();
		return documentRoot;
	}

	/**
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @generated
	 */
	public Domain createDomain() {
		DomainImpl domain = new DomainImpl();
		return domain;
	}

	/**
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @generated
	 */
	public EnumType createEnumType() {
		EnumTypeImpl enumType = new EnumTypeImpl();
		return enumType;
	}

	/**
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @generated
	 */
	public ExternalReferenceEndpoint createExternalReferenceEndpoint() {
		ExternalReferenceEndpointImpl externalReferenceEndpoint = new ExternalReferenceEndpointImpl();
		return externalReferenceEndpoint;
	}

	/**
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @generated
	 */
	public FixedType createFixedType() {
		FixedTypeImpl fixedType = new FixedTypeImpl();
		return fixedType;
	}

	/**
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @generated
	 */
	public ImplementationDependency createImplementationDependency() {
		ImplementationDependencyImpl implementationDependency = new ImplementationDependencyImpl();
		return implementationDependency;
	}

	/**
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @generated
	 */
	public InstanceDeploymentDescription createInstanceDeploymentDescription() {
		InstanceDeploymentDescriptionImpl instanceDeploymentDescription = new InstanceDeploymentDescriptionImpl();
		return instanceDeploymentDescription;
	}

	/**
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @generated
	 */
	public InstanceResourceDeploymentDescription createInstanceResourceDeploymentDescription() {
		InstanceResourceDeploymentDescriptionImpl instanceResourceDeploymentDescription = new InstanceResourceDeploymentDescriptionImpl();
		return instanceResourceDeploymentDescription;
	}

	/**
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @generated
	 */
	public Interconnect createInterconnect() {
		InterconnectImpl interconnect = new InterconnectImpl();
		return interconnect;
	}

	/**
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @generated
	 */
	public MonolithicDeploymentDescription createMonolithicDeploymentDescription() {
		MonolithicDeploymentDescriptionImpl monolithicDeploymentDescription = new MonolithicDeploymentDescriptionImpl();
		return monolithicDeploymentDescription;
	}

	/**
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @generated
	 */
	public NamedValue createNamedValue() {
		NamedValueImpl namedValue = new NamedValueImpl();
		return namedValue;
	}

	/**
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @generated
	 */
	public Node createNode() {
		NodeImpl node = new NodeImpl();
		return node;
	}

	/**
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @generated
	 */
	public ObjrefType createObjrefType() {
		ObjrefTypeImpl objrefType = new ObjrefTypeImpl();
		return objrefType;
	}

	/**
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @generated
	 */
	public PlanConnectionDescription createPlanConnectionDescription() {
		PlanConnectionDescriptionImpl planConnectionDescription = new PlanConnectionDescriptionImpl();
		return planConnectionDescription;
	}

	/**
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @generated
	 */
	public PlanLocality createPlanLocality() {
		PlanLocalityImpl planLocality = new PlanLocalityImpl();
		return planLocality;
	}

	/**
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @generated
	 */
	public PlanPropertyMapping createPlanPropertyMapping() {
		PlanPropertyMappingImpl planPropertyMapping = new PlanPropertyMappingImpl();
		return planPropertyMapping;
	}

	/**
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @generated
	 */
	public PlanSubcomponentPortEndpoint createPlanSubcomponentPortEndpoint() {
		PlanSubcomponentPortEndpointImpl planSubcomponentPortEndpoint = new PlanSubcomponentPortEndpointImpl();
		return planSubcomponentPortEndpoint;
	}

	/**
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @generated
	 */
	public PlanSubcomponentPropertyReference createPlanSubcomponentPropertyReference() {
		PlanSubcomponentPropertyReferenceImpl planSubcomponentPropertyReference = new PlanSubcomponentPropertyReferenceImpl();
		return planSubcomponentPropertyReference;
	}

	/**
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @generated
	 */
	public Property createProperty() {
		PropertyImpl property = new PropertyImpl();
		return property;
	}

	/**
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @generated
	 */
	public Requirement createRequirement() {
		RequirementImpl requirement = new RequirementImpl();
		return requirement;
	}

	/**
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @generated
	 */
	public Resource createResource() {
		ResourceImpl resource = new ResourceImpl();
		return resource;
	}

	/**
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @generated
	 */
	public ResourceDeploymentDescription createResourceDeploymentDescription() {
		ResourceDeploymentDescriptionImpl resourceDeploymentDescription = new ResourceDeploymentDescriptionImpl();
		return resourceDeploymentDescription;
	}

	/**
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @generated
	 */
	public SatisfierProperty createSatisfierProperty() {
		SatisfierPropertyImpl satisfierProperty = new SatisfierPropertyImpl();
		return satisfierProperty;
	}

	/**
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @generated
	 */
	public SequenceType createSequenceType() {
		SequenceTypeImpl sequenceType = new SequenceTypeImpl();
		return sequenceType;
	}

	/**
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @generated
	 */
	public SharedResource createSharedResource() {
		SharedResourceImpl sharedResource = new SharedResourceImpl();
		return sharedResource;
	}

	/**
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @generated
	 */
	public StructMemberType createStructMemberType() {
		StructMemberTypeImpl structMemberType = new StructMemberTypeImpl();
		return structMemberType;
	}

	/**
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @generated
	 */
	public StructType createStructType() {
		StructTypeImpl structType = new StructTypeImpl();
		return structType;
	}

	/**
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @generated
	 */
	public UnionMemberType createUnionMemberType() {
		UnionMemberTypeImpl unionMemberType = new UnionMemberTypeImpl();
		return unionMemberType;
	}

	/**
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @generated
	 */
	public UnionType createUnionType() {
		UnionTypeImpl unionType = new UnionTypeImpl();
		return unionType;
	}

	/**
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @generated
	 */
	public ValueMemberType createValueMemberType() {
		ValueMemberTypeImpl valueMemberType = new ValueMemberTypeImpl();
		return valueMemberType;
	}

	/**
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @generated
	 */
	public ValueType createValueType() {
		ValueTypeImpl valueType = new ValueTypeImpl();
		return valueType;
	}

	/**
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @generated
	 */
	public CCMComponentPortKind createCCMComponentPortKindFromString(
			EDataType eDataType, String initialValue) {
		CCMComponentPortKind result = CCMComponentPortKind.get(initialValue);
		if (result == null)
			throw new IllegalArgumentException("The value '" + initialValue
					+ "' is not a valid enumerator of '" + eDataType.getName()
					+ "'");
		return result;
	}

	/**
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @generated
	 */
	public String convertCCMComponentPortKindToString(EDataType eDataType,
			Object instanceValue) {
		return instanceValue == null ? null : instanceValue.toString();
	}

	/**
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @generated
	 */
	public PlanLocalityKind createPlanLocalityKindFromString(
			EDataType eDataType, String initialValue) {
		PlanLocalityKind result = PlanLocalityKind.get(initialValue);
		if (result == null)
			throw new IllegalArgumentException("The value '" + initialValue
					+ "' is not a valid enumerator of '" + eDataType.getName()
					+ "'");
		return result;
	}

	/**
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @generated
	 */
	public String convertPlanLocalityKindToString(EDataType eDataType,
			Object instanceValue) {
		return instanceValue == null ? null : instanceValue.toString();
	}

	/**
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @generated
	 */
	public ResourceUsageKind createResourceUsageKindFromString(
			EDataType eDataType, String initialValue) {
		ResourceUsageKind result = ResourceUsageKind.get(initialValue);
		if (result == null)
			throw new IllegalArgumentException("The value '" + initialValue
					+ "' is not a valid enumerator of '" + eDataType.getName()
					+ "'");
		return result;
	}

	/**
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @generated
	 */
	public String convertResourceUsageKindToString(EDataType eDataType,
			Object instanceValue) {
		return instanceValue == null ? null : instanceValue.toString();
	}

	/**
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @generated
	 */
	public SatisfierPropertyKind createSatisfierPropertyKindFromString(
			EDataType eDataType, String initialValue) {
		SatisfierPropertyKind result = SatisfierPropertyKind.get(initialValue);
		if (result == null)
			throw new IllegalArgumentException("The value '" + initialValue
					+ "' is not a valid enumerator of '" + eDataType.getName()
					+ "'");
		return result;
	}

	/**
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @generated
	 */
	public String convertSatisfierPropertyKindToString(EDataType eDataType,
			Object instanceValue) {
		return instanceValue == null ? null : instanceValue.toString();
	}

	/**
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @generated
	 */
	public TCKind createTCKindFromString(EDataType eDataType,
			String initialValue) {
		TCKind result = TCKind.get(initialValue);
		if (result == null)
			throw new IllegalArgumentException("The value '" + initialValue
					+ "' is not a valid enumerator of '" + eDataType.getName()
					+ "'");
		return result;
	}

	/**
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @generated
	 */
	public String convertTCKindToString(EDataType eDataType,
			Object instanceValue) {
		return instanceValue == null ? null : instanceValue.toString();
	}

	/**
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @generated
	 */
	public CCMComponentPortKind createCCMComponentPortKindObjectFromString(
			EDataType eDataType, String initialValue) {
		return createCCMComponentPortKindFromString(
				DeploymentPackage.eINSTANCE.getCCMComponentPortKind(),
				initialValue);
	}

	/**
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @generated
	 */
	public String convertCCMComponentPortKindObjectToString(
			EDataType eDataType, Object instanceValue) {
		return convertCCMComponentPortKindToString(
				DeploymentPackage.eINSTANCE.getCCMComponentPortKind(),
				instanceValue);
	}

	/**
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @generated
	 */
	public PlanLocalityKind createPlanLocalityKindObjectFromString(
			EDataType eDataType, String initialValue) {
		return createPlanLocalityKindFromString(
				DeploymentPackage.eINSTANCE.getPlanLocalityKind(), initialValue);
	}

	/**
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @generated
	 */
	public String convertPlanLocalityKindObjectToString(EDataType eDataType,
			Object instanceValue) {
		return convertPlanLocalityKindToString(
				DeploymentPackage.eINSTANCE.getPlanLocalityKind(),
				instanceValue);
	}

	/**
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @generated
	 */
	public ResourceUsageKind createResourceUsageKindObjectFromString(
			EDataType eDataType, String initialValue) {
		return createResourceUsageKindFromString(
				DeploymentPackage.eINSTANCE.getResourceUsageKind(),
				initialValue);
	}

	/**
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @generated
	 */
	public String convertResourceUsageKindObjectToString(EDataType eDataType,
			Object instanceValue) {
		return convertResourceUsageKindToString(
				DeploymentPackage.eINSTANCE.getResourceUsageKind(),
				instanceValue);
	}

	/**
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @generated
	 */
	public SatisfierPropertyKind createSatisfierPropertyKindObjectFromString(
			EDataType eDataType, String initialValue) {
		return createSatisfierPropertyKindFromString(
				DeploymentPackage.eINSTANCE.getSatisfierPropertyKind(),
				initialValue);
	}

	/**
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @generated
	 */
	public String convertSatisfierPropertyKindObjectToString(
			EDataType eDataType, Object instanceValue) {
		return convertSatisfierPropertyKindToString(
				DeploymentPackage.eINSTANCE.getSatisfierPropertyKind(),
				instanceValue);
	}

	/**
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @generated
	 */
	public TCKind createTCKindObjectFromString(EDataType eDataType,
			String initialValue) {
		return createTCKindFromString(DeploymentPackage.eINSTANCE.getTCKind(),
				initialValue);
	}

	/**
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @generated
	 */
	public String convertTCKindObjectToString(EDataType eDataType,
			Object instanceValue) {
		return convertTCKindToString(DeploymentPackage.eINSTANCE.getTCKind(),
				instanceValue);
	}

	/**
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @generated
	 */
	public DeploymentPackage getDeploymentPackage() {
		return (DeploymentPackage) getEPackage();
	}

	/**
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @deprecated
	 * @generated
	 */
	@Deprecated
	public static DeploymentPackage getPackage() {
		return DeploymentPackage.eINSTANCE;
	}

} //DeploymentFactoryImpl
